<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="../../css/bootstrap.min.css">
<link rel="stylesheet" href="../../css/font-awesome.min.css">
<link rel="stylesheet" href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
<link rel="stylesheet" href="../../plugins/ztree/css/metroStyle/metroStyle.css">
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../assets/css/amazeui.min.css">
<script src="../../libs/jquery.min.js" type="text/javascript"></script>
<script src="../../plugins/layer/layer.js" type="text/javascript"></script>
<script src="../../libs/bootstrap.min.js" type="text/javascript"></script>
<script src="../../libs/vue.min.js" type="text/javascript"></script>
<script src="../../plugins/jqgrid/grid.locale-cn.js" type="text/javascript"></script>
<script src="../../plugins/jqgrid/jquery.jqGrid.min.js" type="text/javascript"></script>
<script src="../../plugins/ztree/jquery.ztree.all.min.js" type="text/javascript"></script>
<script src="../../js/common.js" type="text/javascript"></script>
<script src="../../assets/js/amazeui.min.js" type="text/javascript"></script>
<style>
.form-group.center {
    margin: 10px auto;
    width: 33%;
    float: left;
}
.col-sm-2 {
    width: 37%;
}
</style>
</head>
<body>
<div id="rrapp" v-cloak>
    <div class="panel panel-default">
		<div class="panel-heading">新增</div>
		<form class="form-horizontal" style="width:1180px;margin:0 auto;">
			<div class="form-group center" style="display:none">
			   	<div class="col-sm-2 control-label">序号：</div>
			   	<div class="col-sm-10">
			      	<input id="serialNo" type="text" class="form-control" v-model="comCollectionRecord.serialNo" placeholder="序号"/>
			    </div>
			</div>
			<div class="form-group center">
			   	<div class="col-sm-2 control-label">房号：</div>
			   	<div class="col-sm-10" style="width:200px">
			      	<input id="assetIds" type="text" class="form-control" v-model="comCollectionRecord.assetIds" placeholder="房号"/>
			    </div>
			</div>
			<div class="form-group center">
			   	<div class="col-sm-2 control-label">合同号：</div>
			   	<div class="col-sm-10" style="width:200px">
			      	<input type="text" class="form-control" v-model="comCollectionRecord.contractNo" placeholder="合同号"/>
			    </div>
			</div>
			<div class="form-group center">
			   	<div class="col-sm-2 control-label" >楼号：</div>
			   	<div class="col-sm-10" style="width:200px">
			      	<input id="buildIds" type="text" class="form-control" v-model="comCollectionRecord.buildIds" placeholder="楼号"/>
			    </div>
			</div>
			<div class="form-group center">
			   	<div class="col-sm-2 control-label" >收据编号：</div>
			   	<div class="col-sm-10" style="width:200px">
			      	<input type="text" class="form-control" v-model="comCollectionRecord.billNo" placeholder="收据编号"/>
			    </div>
			</div>
			<div class="form-group center">
			   	<div class="col-sm-2 control-label">收款方式：</div>
			   	<div class="col-sm-10" style="width:200px">
			      	<select class="form-control" v-model="comCollectionRecord.gatheringMethod" >
						<option value="">请选择</option>
						<option value="现金">现金</option>  
						<option value="转账">转账</option>
						<option value="票据">票据</option>  
						<option value="POS机">POS机</option>
						<option value="支付宝">支付宝</option>  
						<option value="微信">微信</option>
						<option value="其他">其他</option>
					</select>
			    </div>
			</div>
			<div class="form-group center">
			   	<div class="col-sm-2 control-label">租赁人：</div>
			   	<div class="col-sm-10" style="width:200px">
			      	<input id="renter" type="text" class="form-control" v-model="comCollectionRecord.renter" placeholder="租赁人"/>
			    </div>
			</div>
			<div class="form-group center">
			   	<div class="col-sm-2 control-label">收款日期：</div>
			   	<div class="col-sm-10" style="width:200px">
			      	<input id="collectionDays" class="form-control" data-am-datepicker readonly v-model="comCollectionRecord.collectionDays" type="text" placeholder="收款日期" />
			    </div>
			</div>
			<div class="form-group center">
			   	<div class="col-sm-2 control-label">业务员：</div>
			   	<div class="col-sm-10" style="width:200px">
			      	<input id="chamberlain" type="text" class="form-control" v-model="comCollectionRecord.chamberlain" placeholder="业务员"/>
			    </div>
			</div>
			<table id = "table" border="1" cellspacing="0" cellpadding="0" style="min-width: 1080px;text-align:center;margin:20px auto;">
				<tr style="height:50px;background-color:#e5e8f3">
					<td style="width:97px">收费项目</td>
					<td style="width:94px">单价</td>
					<td style="width:94px">面积</td>
					<td style="width:220px">计费期间</td>
					<td style="width:130px">月份数</td>
					<td style="width:127px">应收金额</td>
					<td style="width:159px">实收金额</td>
					<td style="width:122px">备注</td>
				</tr>
				<tr style="height:50px">
				  	<td>
				  		租金
				  		<input type="text" style="display:none"/>
				  	</td>
				  	<td>
				      	<input type="text" class="univalent" style="width:87px;height:40px"/>
					</td>
					<td>
				      	<input type="text" class="acreage" style="width:84px;height:40px"/>
			      	</td>
					<td>
				      	<input class="laydate-icon chargingSd" data-am-datepicker readonly type="text" placeholder="计费开始时间" style="width:95px;height:40px"/>
					    至
				      	<input class="laydate-icon chargingEd" data-am-datepicker readonly type="text" placeholder="计费结束时间" style="width:95px;height:40px"/>
					</td>
					<td>
						<label></label>
					</td>
					<td>
						<label></label>
					</td>
					<td>
				      	<input type="text" style="width:149px;height:40px" class="payAmount"/>
					</td>
					<td>
				     	<textarea style="width:112px;height:40px" maxlength="1000"></textarea>
					</td>
				</tr>
				<tr style="height:50px">
				  	<td>
				  		物业费
				  		<input type="text" style="display:none"/>
				  	</td>
				  	<td>
				      	<input type="text" class="univalent" style="width:87px;height:40px"/>
					</td>
					<td>
				      	<input type="text" class="acreage" style="width:84px;height:40px"/>
			      	</td>
					<td>
				      	<input class="laydate-icon chargingSd" data-am-datepicker readonly type="text" placeholder="计费开始时间" style="width:95px;height:40px"/>
					    至
				      	<input class="laydate-icon chargingEd" data-am-datepicker readonly type="text" placeholder="计费结束时间" style="width:95px;height:40px"/>
					</td>
					<td>
						<label></label>
					</td>
					<td>
						<label></label>
					</td>
					<td>
				      	<input type="text" style="width:149px;height:40px" class="payAmount"/>
					</td>
					<td>
				     	<textarea style="width:112px;height:40px" maxlength="1000"></textarea>
					</td>
				</tr>
				<tr style="height:50px">
				  	<td>
				  		管理费
				  		<input type="text" style="display:none"/>
				  	</td>
				  	<td>
				      	<input type="text" class="univalent" style="width:87px;height:40px"/>
					</td>
					<td>
				      	<input type="text" class="acreage" style="width:84px;height:40px"/>
			      	</td>
					<td>
				      	<input class="laydate-icon chargingSd" data-am-datepicker readonly type="text" placeholder="计费开始时间" style="width:95px;height:40px"/>
					    至
				      	<input class="laydate-icon chargingEd" data-am-datepicker readonly type="text" placeholder="计费结束时间" style="width:95px;height:40px"/>
					</td>
					<td>
						<label></label>
					</td>
					<td>
						<label></label>
					</td>
					<td>
				      	<input type="text" style="width:149px;height:40px" class="payAmount"/>
					</td>
					<td>
				     	 <textarea style="width:112px;height:40px" maxlength="1000"></textarea>
					</td>
				</tr>
				<tr style="height:50px">
				  	<td>
				  		公共能耗费
				  		<input type="text" style="display:none"/>
				  	</td>
				  	<td>
				      	<input type="text" class="univalent" style="width:87px;height:40px"/>
					</td>
					<td>
				      	<input type="text" class="acreage" style="width:84px;height:40px"/>
			      	</td>
					<td>
				      	<input class="laydate-icon chargingSd" data-am-datepicker readonly type="text" placeholder="计费开始时间" style="width:95px;height:40px"/>
					    至
				      	<input class="laydate-icon chargingEd" data-am-datepicker readonly type="text" placeholder="计费结束时间" style="width:95px;height:40px"/>
					</td>
					<td>
						<label></label>
					</td>
					<td>
						<label></label>
					</td>
					<td>
				      	<input type="text" style="width:149px;height:40px" class="payAmount"/>
					</td>
					<td>
						<textarea style="width:112px;height:40px" maxlength="1000"></textarea>
					</td>
				</tr>
				<tr style="height:50px">
				  	<td>
				  		居间服务费
				  		<input type="text" style="display:none"/>
				  	</td>
				  	<td>
				      	<input type="text" class="univalent" style="width:87px;height:40px"/>
					</td>
					<td>
				      	<input type="text" class="acreage" style="width:84px;height:40px"/>
			      	</td>
					<td>
				      	<input class="laydate-icon chargingSd" data-am-datepicker readonly type="text" placeholder="计费开始时间" style="width:95px;height:40px"/>
					    至
				      	<input class="laydate-icon chargingEd" data-am-datepicker readonly type="text" placeholder="计费结束时间" style="width:95px;height:40px"/>
					</td>
					<td>
						<label></label>
					</td>
					<td>
						<label></label>
					</td>
					<td>
				      	<input type="text" style="width:149px;height:40px" class="payAmount"/>
					</td>
					<td>
				     	<textarea style="width:112px;height:40px" maxlength="1000"></textarea>
					</td>
				</tr>
				<tr style="height:50px">
					<td>
						保证金
						<input type="text" style="display:none"/>
					</td>
				  	<td>
				      	<input type="text" class="univalent" style="width:87px;height:40px"/>
					</td>
					<td>
				      	<input type="text" class="acreage" style="width:84px;height:40px"/>
			      	</td>
					<td>
				      	<input class="laydate-icon chargingSd" data-am-datepicker readonly type="text" placeholder="计费开始时间" style="width:95px;height:40px"/>
					    至
				      	<input class="laydate-icon chargingEd" data-am-datepicker readonly type="text" placeholder="计费结束时间" style="width:95px;height:40px"/>
					</td>
					<td>
						<label></label>
					</td>
					<td>
						<label></label>
					</td>
					<td>
				      	<input type="text" style="width:149px;height:40px" class="payAmount"/>
					</td>
					<td>
				     	<textarea style="width:112px;height:40px" maxlength="1000"></textarea>
					</td>
				</tr>
				<tr style="height:50px">
				  	<td>
				  		停车费
				  		<input type="text" style="display:none"/>
			  		</td>
				  	<td>
				      	<input type="text" class="univalent" style="width:87px;height:40px"/>
					</td>
					<td>
				      	<input type="text" class="acreage" style="width:84px;height:40px"/>
			      	</td>
			      	<td>
				      	<input class="laydate-icon chargingSd" data-am-datepicker readonly type="text" placeholder="计费开始时间" style="width:95px;height:40px"/>
					    至
				      	<input class="laydate-icon chargingEd" data-am-datepicker readonly type="text" placeholder="计费结束时间" style="width:95px;height:40px"/>
					</td>
					<td>
						<label></label>
					</td>
					<td>
						<label></label>
					</td>
					<td>
				      	<input type="text" style="width:149px;height:40px" class="payAmount"/>
					</td>
					<td>
				     	 <textarea style="width:112px;height:40px" maxlength="1000"></textarea>
					</td>
				</tr>
				<tr style="height:50px">
				  	<td>
				  		租场费
				  		<input type="text" style="display:none"/>
			  		</td>
				  	<td>
				      	<input type="text" class="univalent" style="width:87px;height:40px"/>
					</td>
					<td>
				      	<input type="text" class="acreage" style="width:84px;height:40px"/>
			      	</td>
					<td>
				      	<input class="laydate-icon chargingSd" data-am-datepicker readonly type="text" placeholder="计费开始时间" style="width:95px;height:40px"/>
					    至
				      	<input class="laydate-icon chargingEd" data-am-datepicker readonly type="text" placeholder="计费结束时间" style="width:95px;height:40px"/>
					</td>
					<td>
						<label></label>
					</td>
					<td>
						<label></label>
					</td>
					<td>
				      	<input type="text" style="width:149px;height:40px" class="payAmount"/>
					</td>
					<td>
				     	<textarea style="width:112px;height:40px" maxlength="1000"></textarea>
					</td>
				</tr>
				<tr style="height:50px">
				  	<td>
				  		其他
				  		<input type="text" style="display:none"/>
			  		</td>
				  	<td>
				      	<input type="text" class="univalent" style="width:87px;height:40px"/>
					</td>
					<td>
				      	<input type="text" class="acreage" style="width:84px;height:40px"/>
			      	</td>
					<td>
				      	<input class="laydate-icon chargingSd" data-am-datepicker readonly type="text" placeholder="计费开始时间" style="width:95px;height:40px"/>
					    至
				      	<input class="laydate-icon chargingEd" data-am-datepicker readonly type="text" placeholder="计费结束时间" style="width:95px;height:40px"/>
					</td>
					<td>
						<label></label>
					</td>
					<td>
						<label></label>
					</td>
					<td>
				      	<input type="text" style="width:149px;height:40px" class="payAmount"/>
					</td>
					<td>
				     	<textarea style="width:112px;height:40px" maxlength="1000"></textarea>
					</td>
				</tr>
				<tr style="height:50px">
				  	<td>总计</td>
				  	<td>--</td>
					<td>--</td>
					<td>--</td>
					<td>--</td>
					<td><label id="amountPayableTotal"></label></td>
					<td><label id="payAmountTotal"></label></td>
					<td>--</td>
				</tr>
			</table>
			<!-- <div style="margin-top:-8px;margin-left:847px;color:#333333">
				公司：<span id="companyName"></span>
			</div>
			<div style="margin-left:959px;color:#333333">
				收款人：<span id="realName"></span>
			</div>
			<div style="float:left;margin-left:40px;font-size:16px;">
				备注：
			</div> -->
			<div style="margin-top:10px;color:#333333">
				<div  style="margin: 0 auto;width: 978px;height: 30px;"><span style="float:right;">公司：<span id="companyName"></span></span></div>
			</div>
			<div style="margin-top:10px;color:#333333">
				<div  style="margin: 0 auto;width: 978px;height: 30px;"><span style="float:right;">收款人：<span id="realName"></span></span></div>
			</div>
			<div style="font-size:16px;margin: 0 auto;width: 978px;">
				<span><span style="float: left;">备注：</span>
				<textarea style="width:900px;height:126px" v-model="comCollectionRecord.remark" placeholder="请输入用途和性质等说明"></textarea></span>
			</div>
			<!-- <div>
				<textarea maxlength="1000" style="width:995px;height:126px" v-model="comCollectionRecord.remark" placeholder="请输入用途和性质等说明"></textarea>
			</div>
 -->			<div class="form-group center" style="text-align: center; margin: 20px auto;">
				<!-- <div class="col-sm-2 control-label"></div>  -->
				<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="back" value="返回"/>
				
			</div>
		</form>
	</div>
</div>

<script src="../../js/modules/com/comcollectionrecordAdd.js"></script>
</body>
</html>